package com.cskaoyan.bean.wxcollect;

import lombok.Data;

/**
 * @author: yudefu
 * @date 2021年06月07日  19:38
 * @description: 增加收藏和取消收藏返回结果
 */
@Data
public class AddOrDeleteData {


    /**
     * type : delete
     */

    private String type;

    public String getType() {
        return type;
    }

    public void setType(Integer type) {
        if (type == 0) {
            this.type = "delete";
        } else if (type == 1) {
            this.type = "add";
        }
    }
}
